import request from "@/utils/request";
import type {LoginParams, LoginRes} from '@/types/Login'
import type {Result} from "@/types/common/Result";

/**
 * 登录
 * @param loginParams
 */
export const loginService = (loginParams: LoginParams) => {
  return request.post<Result<LoginRes>>(`/common/login`, loginParams);
}


